package org.itboys.portal.service;

import javax.annotation.Resource;

import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.portal.entity.PortalInfoComment;
import org.springframework.stereotype.Service;

/**
 * @author 作者 huml
 * @version 创建时间：2016-3-30 下午2:45:57
 * 类说明
 */
@Service
public class PortalInfoCommentService extends BasePortalService<PortalInfoComment, Long> {

	private static final long serialVersionUID = 7280870863099194961L;

	@Resource(name="portalDS")
	private MongoDataSource infoCommentDataSource;

	@Override
	protected MongoDataSource getMongoDataSource() {
		return infoCommentDataSource;
	}

	@Override
	protected Class<PortalInfoComment> getEntityClass() {
		return PortalInfoComment.class;
	}

}
